<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">

<ui:composition template="/templates/masterLayout.xhtml">
	<ui:define name="content">
        <button onclick="print()">Test Print</button>
        <applet name="jzebra" code="jzebra.PrintApplet.class" archive="resources/applet/jzebra.jar" width="50px" height="50px">
            <!-- Optional, searches for printer with "zebra" in the name on load -->
            <!-- Note:  It is recommended to use applet.findPrinter() instead for ajax heavy applications -->
            <param name="printer" value="zebra"/>
            <!-- Optional, these "cache_" params enable faster loading "caching" of the applet -->
            <param name="cache_option" value="plugin"/>
            <!-- Change "cache_archive" to point to relative URL of jzebra.jar -->
            <param name="cache_archive" value="resources/applet/jzebra.jar"/>
            <!-- Change "cache_version" to reflect current jZebra version -->
            <param name="cache_version" value="1.4.8.0"/>
        </applet>
    </ui:define>
</ui:composition>
</html>